input width autosize

52

input width autosize -

<input 	id="txt" 
		type="text" 
        onkeypress="this.style.width = (this.value.length + 1) + 'em';">

Comments

Submit
0 Comments